package xian.woniu.entity;

import lombok.AllArgsConstructor;
import lombok.NoArgsConstructor;
import lombok.ToString;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;
@ToString
@AllArgsConstructor
@NoArgsConstructor
public class Orders implements Serializable {
    private Integer oId;

    private Integer uId;

    private Integer cheweiId;

    private String oName;

    private Date oTimestart;

    private Date oTimeend;

    private Date oTotaltime;

    private BigDecimal oConsumption;

    private Integer oState;

    private String oBeiyong1;

    private String oBeiyong2;

    private String oBeiyong3;

    private static final long serialVersionUID = 1L;

    public Integer getoId() {
        return oId;
    }

    public void setoId(Integer oId) {
        this.oId = oId;
    }

    public Integer getuId() {
        return uId;
    }

    public void setuId(Integer uId) {
        this.uId = uId;
    }

    public Integer getCheweiId() {
        return cheweiId;
    }

    public void setCheweiId(Integer cheweiId) {
        this.cheweiId = cheweiId;
    }

    public String getoName() {
        return oName;
    }

    public void setoName(String oName) {
        this.oName = oName == null ? null : oName.trim();
    }

    public Date getoTimestart() {
        return oTimestart;
    }

    public void setoTimestart(Date oTimestart) {
        this.oTimestart = oTimestart;
    }

    public Date getoTimeend() {
        return oTimeend;
    }

    public void setoTimeend(Date oTimeend) {
        this.oTimeend = oTimeend;
    }

    public Date getoTotaltime() {
        return oTotaltime;
    }

    public void setoTotaltime(Date oTotaltime) {
        this.oTotaltime = oTotaltime;
    }

    public BigDecimal getoConsumption() {
        return oConsumption;
    }

    public void setoConsumption(BigDecimal oConsumption) {
        this.oConsumption = oConsumption;
    }

    public Integer getoState() {
        return oState;
    }

    public void setoState(Integer oState) {
        this.oState = oState;
    }

    public String getoBeiyong1() {
        return oBeiyong1;
    }

    public void setoBeiyong1(String oBeiyong1) {
        this.oBeiyong1 = oBeiyong1 == null ? null : oBeiyong1.trim();
    }

    public String getoBeiyong2() {
        return oBeiyong2;
    }

    public void setoBeiyong2(String oBeiyong2) {
        this.oBeiyong2 = oBeiyong2 == null ? null : oBeiyong2.trim();
    }

    public String getoBeiyong3() {
        return oBeiyong3;
    }

    public void setoBeiyong3(String oBeiyong3) {
        this.oBeiyong3 = oBeiyong3 == null ? null : oBeiyong3.trim();
    }
}